home *** CD-ROM | disk | FTP | other *** search
/ Skunkware 5 / Skunkware 5.iso / tls / tls001a.1 / usr / lib / grafinfo / paradise / 8514a.xgi / 8514a.xgi
Encoding:
Text File  |  1992-04-23  |  2.3 KB  |  62 lines

  1. /*    @(#) 8514a.xgi 1.1 91/11/09     */
  2.  
  3. /*
  4.  *    Copyright (C) The Santa Cruz Operation, 1991.
  5.  *    This Module contains Proprietary Information of
  6.  *    The Santa Cruz Operation, and should be treated as Confidential.
  7.  */
  8.  
  9. /* ************************************************************************* *
  10.  *                                                                           *
  11.  *                   PARADISE.8514A.8514A.1024x768-256-60                    *
  12.  *                                                                           *
  13.  * ************************************************************************* */
  14.  
  15. /* ===================================================== */
  16.  
  17. VENDOR PARADISE         "PARADISE"
  18.  MODEL  8514A       "8514A"
  19.   CLASS  8514A         "8514A"
  20.    MODE   1024x768-256-60   "1024x768 256-color 60hz non-interlaced"
  21.  
  22.     PROCEDURE InitGraphics
  23.     {
  24.         XDRIVER     = "eff";
  25.         VISUAL      = "PsuedoColor";
  26.         PIXWIDTH    = 1024;
  27.         PIXHEIGHT   = 768;
  28.         DEPTH       = 8;
  29.         /* OFFSCR values define the whereabouts of off-screen memory in
  30.          * terms of starting X, Y coords on the card and the Width and
  31.          * Height of memory from that point.  The eff driver requires
  32.          * at least approx 160 scan lines of off-screen memory.
  33.          */
  34.         OFFSCRX   = 0;              /* x coord for off-screen memory */
  35.         OFFSCRY   = 768;                                  /* y coord */
  36.         OFFSCRW   = 1024;            /* width, keep this >= PIXWIDTH */
  37.         OFFSCRH   = 256;              /* height of off-screen memory */
  38.     }
  39.  
  40.     PROCEDURE SetGraphics
  41.     {
  42.         out(0x22e8, 0x0023);                            /* disp_cntl */
  43.         outw(0x4ae8, 0x0007);                        /* advfunc_cntl */
  44.         outw(0xbee8, 0x5006);
  45.         in(r0, 0x28e9);
  46.         outw(0x96e8, 0x2301);
  47.  
  48.         outw(0x12e8, 0x0660);                             /* v_total */
  49.         outw(0x1ae8, 0x0600);                         /* v_sync_strt */
  50.         outw(0x16e8, 0x05fb);                              /* v_disp */
  51.         out(0x1ee8, 0x08);                             /* v_sync_wid */
  52.         outw(0x02e8, 0x00a2);                             /* h_total */
  53.         outw(0x0ae8, 0x0083);                         /* h_sync_strt */
  54.         outw(0x06e8, 0x007f);                              /* h_disp */
  55.         outw(0x0ee8, 0x0016);                          /* h_sync_wid */
  56.          }
  57.  
  58.     PROCEDURE SetText
  59.     {
  60.         outw(0x4ae8, 0);                             /* reset miscio */
  61.     }
  62.